package com.testyourshell.model.test.result;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.testyourshell.model.IdentifiedEntity;

@Entity
@Table(name = "pair")
public class Pair extends IdentifiedEntity {

	private static final long serialVersionUID = 1L;

	@JoinColumn(name = "iteration_id", nullable = false)
	@ManyToOne
	private Iteration iteration;

	@Column(name = "param")
	private String param;

	@Column(name = "value")
	private String value;

	public Iteration getIteration() {
		return iteration;
	}

	public void setIteration(Iteration iteration) {
		this.iteration = iteration;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
